package Test;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

import com.dang.alex.dao.UserDAO;
import com.dang.alex.dao.imp.UserDAOImp;
import com.dang.alex.model.User;

class TestUserDAO {

	@Test
	void test() {
		UserDAO userDAO=new UserDAOImp();
		try {
			User user=userDAO.findById(1);
			System.out.println(user.getEmail());
		}catch(Exception e) {
			e.printStackTrace();
		}
	}

}
